package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.pojo.WmNewsMaterial;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    void saveRelatios(@Param("materialIds") List<Integer> materialIds, @Param("newsId") Integer newsId,
                      @Param("type") Short type);
}
